﻿<%@ Page Language="C#" MasterPageFile="~/Pages/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePass.aspx.cs" Inherits="Pages_ChangePass" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    .style2
    {
        
        text-align: left;
    }
    .style3
    {
        text-align: left;
        width: 133px;
    }
    .style4
    {
        width: 133px;
    }
    
</style>
<title>Imagevn upload and printing pro</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="titleClient">
<h1>Change Pass</h1>
</div>
<div class="contentClient">
    <div id="MainContent">
    <div style="text-align:center; padding:10px; margin:0px auto; width:800px">
        <center>
    <table style="width: 600px;">
        <tr>
            <td class="style3">
                Old Pass:
            </td>
            <td class="style2">
                <asp:TextBox ID="txtOldPass" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
            
            </td>
            
            <td class="style2">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="* Old is not empty" Display="Dynamic" ControlToValidate="txtOldPass"></asp:RequiredFieldValidator>
               <asp:Label ID="lblError" runat="server" Text="* Invalid password" Visible="false" ForeColor="Red"></asp:Label>
            </td>
        </tr>
        
        <tr>
            <td class="style3">
                New Pass:
            </td>
            <td class="style2">
                <asp:TextBox ID="txtNewPass" runat="server" TextMode="Password"></asp:TextBox>
            </td>

        </tr>
        <tr>
            <td class="style4">
            
            </td>
            <td class="style2">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ErrorMessage="* New Pass is not empty" Display="Dynamic" ControlToValidate="txtNewPass"></asp:RequiredFieldValidator>
            </td>
        </tr>
        
        <tr>
            <td class="style3">
               Re-Enter new Pass:
            </td>
            <td class="style2">
                <asp:TextBox ID="txtRepass" runat="server" TextMode="Password"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style4">
            </td>
            <td class="style2">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ErrorMessage="*Re-Enter New Pass is not empty" Display="Dynamic" ControlToValidate="txtRepass"></asp:RequiredFieldValidator>
                <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="* Re-Enter Password must be same password" ControlToValidate="txtRepass" ControlToCompare="txtNewPass" Display="Dynamic"></asp:CompareValidator>
            </td>
        </tr>
        
        <tr>
            <td class="style3">
               
            </td>
            <td class="style2">
                <asp:Button ID="btnOk" runat="server" Text="Save" onclick="btnOk_Click"/>
                <input id="Button1" type="reset" value="Cancel" />
            </td>
        </tr>
    </table>
    </center>
    </div>
    </div>
    </div>
</asp:Content>

